<script>
    Yi.event.on(EventPrefix + 'ResetForm', function(form) {
        form.categories = [];
        return form;
    });
</script>